package com.adong;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @author com.adong
 */

@Component
@Aspect
public class AopProxy {
    @Before(value =  "execution(* com.adong.Aop.update(..))")
    public void before(){
        System.out.println("我是before方法");
    }
}
